package com.indusfo.spc.client.mapper;

import com.indusfo.spc.pojo.OrderTech;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author chenm
 * @create 2019-12-20 18:22
 */
public interface ClientOrderTechMapper {

	OrderTech currentByOrderId(@Param("orderId") Integer orderId);

	OrderTech selectByOrderTechId(@Param("orderTechId") Integer orderTechId);
	/**
	 * 通过批号ID查询来源类型（工检插入维修工序判断用）
	 * @param batchId
	 * @return
	 */
	Integer selectSourceTypeIdByBatchId(@Param("batchId") Integer batchId);

  List<OrderTech> queryHistory(@Param("orderId") Integer orderId);
}
